﻿<!doctype html>
<html>
<head>
<meta charset="gb2312">
<title>黑色Html5响应式个人博客模板——主题《如影随形》</title>
<meta name="keywords" content="个人博客模板,博客模板,响应式" />
<meta name="description" content="如影随形主题的个人博客模板，神秘、俏皮。" />
<link href="<?php echo __PUBLIC__;?>/css/base.css" rel="stylesheet">
<link href="<?php echo __PUBLIC__;?>/css/index.css" rel="stylesheet">
<link href="<?php echo __PUBLIC__;?>/css/media.css" rel="stylesheet">
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0">
<!--[if lt IE 9]>
<script src="<?php echo __PUBLIC__;?>/css/modernizr.js"></script>
<![endif]-->
</head>
<body>
<div class="ibody">
  <?php
    include 'header.html';
  ?>
  <article>
    <div class="banner">
      <ul class="texts">
        <p>The best life is use of willing attitude, a happy-go-lucky life. </p>
        <p>最好的生活是用心甘情愿的态度，过随遇而安的生活。</p>
      </ul>
    </div>
    <div class="bloglist">
      <h2>
        <p><span>推荐</span>文章</p>
      </h2>

      <?php
        foreach($recommend as $k => $v){
          //处理文章内容太长
          $content = $this->dealwith_art($v['content'],100,'......');
          echo "
            <div class='blogs'>
              <h3><a href='/'>".$v['title']."</a></h3>
              <figure><img src='".__IMAGE__."/".$v['photourl']."/".$v['photoname']."' ></figure>
              <ul>
                <p>".$content."</p>
                <a href='/Home/index.php?c=Article&f=show&id=".$v['id']."'  class='readmore'>阅读全文&gt;&gt;</a>
                <!-- target='_blank' -->
              </ul>
              <p class='autor'><span>作者：杨青</span><span>分类：【<a href='/'>".$v['classify']."</a>】</span><span>浏览（<a href='/'>".$v['browse']."</a>）</span><!-- <span>评论（<a href='/'>30</a>）</span> --></p>
              <div class='dateview'>".$v['time']."</div>
            </div>
          ";
        }
      ?>



    </div>
  </article>
  <aside>
    <div class="avatar"><a href="about.html"><span>关于杨青</span></a></div>
    <div class="topspaceinfo">
      <h1>执子之手，与子偕老</h1>
      <p>于千万人之中，我遇见了我所遇见的人....</p>
    </div>
    <div class="about_c">
      <p>网名：Mr.Elephpant | 修</p>
      <p>职业：Php开发爱好者、在校大三学生 </p>
      <p>籍贯：吉林省—白山市</p>
      <p>电话：13944670612</p>
      <p>邮箱：787956151@qq.com</p>
    </div>
    <!-- 此处不知为何不显示了?? -->
    <div class="bdsharebuttonbox"><a href="#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间"></a><a href="#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a><a href="#" class="bds_tqq" data-cmd="tqq" title="分享到腾讯微博"></a><a href="#" class="bds_renren" data-cmd="renren" title="分享到人人网"></a><a href="#" class="bds_weixin" data-cmd="weixin" title="分享到微信"></a><a href="#" class="bds_more" data-cmd="more"></a></div>
    <div class="tj_news">
      <h2>
        <p class="tj_t1">最新文章</p>
      </h2>
      <ul>
        <?php
          foreach($LatestArt as $k => $v){
            echo "
              <li><a href='/Home/index.php?c=Article&f=show&id=".$v['id']."'>".$v['title']."</a></li>
            ";
          }
        ?>
      </ul>
      <h2>
        <p class="tj_t2">推荐文章</p>
      </h2>
      <ul>
        <?php
          foreach($RecArt as $k => $v){
            echo "
              <li><a href='/Home/index.php?c=Article&f=show&id=".$v['id']."'>".$v['title']."</a></li>
            ";
          }
        ?>
      </ul>
    </div>
    <div class="links">
      <h2>
        <p>友情链接</p>
      </h2>
      <ul>
        <li><a href="#">前端制作者</a></li>
        <li><a href="http://user.qzone.qq.com/787956151">修のQQ空间</a></li>
        <li><a href="http://github.com/zxy787956151">修のGit社区</a></li>
        <li><a href="http://git.oschina.net/zxy950502">修の开源中国</a></li>
      </ul>
    </div>
    <div class="copyright">
      <ul>
        <p> Design by <a href="/">DanceSmile</a></p>
        <p>蜀ICP备11002373号-1</p>
        </p>
      </ul>
    </div>
  </aside>
  <script src="<?php echo __PUBLIC__;?>/css/silder.js"></script>
  <div class="clear"></div>
  <!-- 清除浮动 -->
</div>
</body>
</html>
